import Vue from 'vue'
import VueRouter from 'vue-router'
/* import Home from './views/Home.vue'
import Users from './views/Users.vue' */

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect:'/home'
  },
  {
    path: '/jiaocheng',
    name: 'jiaocheng',
    component: () => import( '../views/jiaocheng/jiaocheng.vue')
  },
  {
    path: '/home',
    name: 'home',
    component: () => import( '../views/Home.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
